[INFO] cloning repository https://github.com/JHooven/modbus_server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JHooven/modbus_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJHooven%2Fmodbus_server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJHooven%2Fmodbus_server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 98ac77cf990d6df6a7cd97bbc83d5d692b67a667
[INFO] fixing JHooven/modbus_server against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJHooven%2Fmodbus_server" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/JHooven/modbus_server
[INFO] finished tweaking git repo https://github.com/JHooven/modbus_server
[INFO] tweaked toml for git repo https://github.com/JHooven/modbus_server written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JHooven/modbus_server on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JHooven/modbus_server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cortex-m-rt-macros v0.7.5
[INFO] [stderr]   Downloaded tokio-modbus v0.17.0
[INFO] [stderr]   Downloaded cortex-m-rt v0.7.5
[INFO] [stderr]   Downloaded fugit-timer v0.1.3
[INFO] [stderr]   Downloaded fugit v0.3.9
[INFO] [stderr]   Downloaded stm32f4xx-hal v0.23.0
[INFO] [stderr]   Downloaded stm32f4 v0.16.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9d5dd72b8fffbb660e77e771f15d4b1e7d7709ac887d1e9b65cb2483d951b41e
[INFO] running `Command { std: "docker" "start" "9d5dd72b8fffbb660e77e771f15d4b1e7d7709ac887d1e9b65cb2483d951b41e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d5dd72b8fffbb660e77e771f15d4b1e7d7709ac887d1e9b65cb2483d951b41e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d5dd72b8fffbb660e77e771f15d4b1e7d7709ac887d1e9b65cb2483d951b41e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9d5dd72b8fffbb660e77e771f15d4b1e7d7709ac887d1e9b65cb2483d951b41e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-modbus v0.17.0
[INFO] [stderr]     Checking modbus_server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> src/host.rs:27:53
[INFO] [stdout]    |
[INFO] [stdout] 27 | ...                   *v = rand::thread_rng().gen();
[INFO] [stdout]    |                                               ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 27 |                             *v = rand::thread_rng().r#gen();
[INFO] [stdout]    |                                                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> src/host.rs:33:53
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   *v = rand::thread_rng().gen();
[INFO] [stdout]    |                                               ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 33 |                             *v = rand::thread_rng().r#gen();
[INFO] [stdout]    |                                                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> src/host.rs:27:53
[INFO] [stdout]    |
[INFO] [stdout] 27 | ...                   *v = rand::thread_rng().gen();
[INFO] [stdout]    |                                               ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 27 |                             *v = rand::thread_rng().r#gen();
[INFO] [stdout]    |                                                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found reserved keyword `gen`
[INFO] [stdout]   --> src/host.rs:33:53
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   *v = rand::thread_rng().gen();
[INFO] [stdout]    |                                               ^^^ expected identifier, found reserved keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `gen` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 33 |                             *v = rand::thread_rng().r#gen();
[INFO] [stdout]    |                                                     ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::time`
[INFO] [stdout]    --> src/host.rs:3:12
[INFO] [stdout]     |
[INFO] [stdout]   3 | use tokio::time::{sleep, Duration};
[INFO] [stdout]     |            ^^^^ could not find `time` in `tokio`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/lib.rs:564:13
[INFO] [stdout]     |
[INFO] [stdout] 564 |     pub mod time;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/macros/cfg.rs:554:19
[INFO] [stdout]     |
[INFO] [stdout] 554 |             #[cfg(feature = "time")]
[INFO] [stdout]     |                   ---------------- the item is gated behind the `time` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/host.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tokio::time`
[INFO] [stdout]    --> src/host.rs:3:12
[INFO] [stdout]     |
[INFO] [stdout]   3 | use tokio::time::{sleep, Duration};
[INFO] [stdout]     |            ^^^^ could not find `time` in `tokio`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/lib.rs:564:13
[INFO] [stdout]     |
[INFO] [stdout] 564 |     pub mod time;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.49.0/src/macros/cfg.rs:554:19
[INFO] [stdout]     |
[INFO] [stdout] 554 |             #[cfg(feature = "time")]
[INFO] [stdout]     |                   ---------------- the item is gated behind the `time` feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> src/host.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Service`
[INFO] [stdout]   --> src/host.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     type Error = ExceptionCode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0437]: type `Error` is not a member of trait `Service`
[INFO] [stdout]   --> src/host.rs:79:5
[INFO] [stdout]    |
[INFO] [stdout] 79 |     type Error = ExceptionCode;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `Service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `Error` not found for `Self`
[INFO] [stdout]   --> src/host.rs:80:62
[INFO] [stdout]    |
[INFO] [stdout] 80 |     type Future = future::Ready<Result<Self::Response, Self::Error>>;
[INFO] [stdout]    |                                                              ^^^^^ associated type `Error` not found
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `Error` not found for `Self`
[INFO] [stdout]   --> src/host.rs:80:62
[INFO] [stdout]    |
[INFO] [stdout] 80 |     type Future = future::Ready<Result<Self::Response, Self::Error>>;
[INFO] [stdout]    |                                                              ^^^^^ associated type `Error` not found
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Exception`
[INFO] [stdout]   --> src/host.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl Service for ExampleService {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Exception` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Exception = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Exception`
[INFO] [stdout]   --> src/host.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | impl Service for ExampleService {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Exception` in implementation
[INFO] [stdout]    |
[INFO] [stdout]    = help: implement the missing item: `type Exception = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/host.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 | ...                   *v = rand::thread_rng().gen();
[INFO] [stdout]    |                            ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/host.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   *v = rand::thread_rng().gen();
[INFO] [stdout]    |                            ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/host.rs:27:34
[INFO] [stdout]    |
[INFO] [stdout] 27 | ...                   *v = rand::thread_rng().gen();
[INFO] [stdout]    |                            ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> src/host.rs:33:34
[INFO] [stdout]    |
[INFO] [stdout] 33 | ...                   *v = rand::thread_rng().gen();
[INFO] [stdout]    |                            ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `periodic_random_update` found for struct `ExampleService` in the current scope
[INFO] [stdout]   --> src/main.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |     spawn(ExampleService::periodic_random_update(input, holding));
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `ExampleService`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/host.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct ExampleService {
[INFO] [stdout]    | ------------------------- associated function or constant `periodic_random_update` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `ExampleService`, consider using `ExampleService::new` which returns `ExampleService`
[INFO] [stdout]   --> src/host.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `periodic_random_update` found for struct `ExampleService` in the current scope
[INFO] [stdout]   --> src/main.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |     spawn(ExampleService::periodic_random_update(input, holding));
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `ExampleService`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/host.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct ExampleService {
[INFO] [stdout]    | ------------------------- associated function or constant `periodic_random_update` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `ExampleService`, consider using `ExampleService::new` which returns `ExampleService`
[INFO] [stdout]   --> src/host.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0220, E0432, E0433, E0437, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0220, E0432, E0433, E0437, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `modbus_server` (bin "modbus_server" test) due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `modbus_server` (bin "modbus_server") due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "9d5dd72b8fffbb660e77e771f15d4b1e7d7709ac887d1e9b65cb2483d951b41e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d5dd72b8fffbb660e77e771f15d4b1e7d7709ac887d1e9b65cb2483d951b41e", kill_on_drop: false }`
[INFO] [stdout] 9d5dd72b8fffbb660e77e771f15d4b1e7d7709ac887d1e9b65cb2483d951b41e
